package org.seedltd.upms.model.detection.entity;

import org.seedltd.core.base.BaseEntityKey;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;

import lombok.Getter;
import lombok.Setter;

/**
 * 试剂管维护数据库对象
 * 
 * @author laizuan
 * @version 1.0
 * @since 2021/07/31
 */
@Getter
@Setter
@TableName("detection_tube")
public class DetectionTube extends BaseEntityKey {

    /**
     * 二维码主键
     */
    @TableField(value = "qrcode_id")
    private Long qrcodeId;

    /**
     * 回收箱主键
     */
    @TableField(value = "recycle_bin_id")
    private Long recycleBinId;

    /**
     * 贩卖机主键
     */
    @TableField(value = "vending_machine_id")
    private Long vendingMachineId;

    /**
     * 检测状态，1已完成，0未完成
     */
    @TableField(value = "check_state")
    private Integer checkState;

    /**
     * 检测结果
     */
    @TableField(value = "check_result")
    private String checkResult;

    /**
     * 备注
     */
    @TableField(value = "remark")
    private String remark;


    /**
     * 报告上传状态，1已上传，0未上传
     */
    @TableField(value = "upload_state")
    private Integer uploadState;

    /**
     * 检测结果评分
     */
    @TableField(value = "result_scope")
    private Integer resultScope;

    /**
     * 干预后等分
     */
    @TableField(value = "disturb_result_scope")
    private Integer disturbResultScope;


    /**
     * 干预后结果字符串
     */
    @TableField(value = "disturb_result_state")
    private String disturbResultState;

}